package es.cea.web;


import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class Home
 */
@WebServlet("/Home")
public class Home extends HttpServlet {
	private static final long serialVersionUID = 1L;

	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		PrintWriter writer = response.getWriter();
		writer.println("<html><body>");
		writer.println("<font size=" + 20 + ">ESTAS EN LA PAGINA HOME</font><br>");
		writer.println("<a href='calculadora.html'><h3>Calculadora</h3></a><br>");
		writer.println("<a href='./Pagina1'><h3>Pagina1</h3></a><br>");
		writer.println("<a href='./Pagina2'><h3>Pagina2</h3></a><br>");
		writer.println("</font>");
		writer.println("</body></html>");
	}


	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

	}

}
